﻿# COMMON ATTRIBUTES

accolade_marauder_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		sadistic = {}
		callous = {}
		vengeful = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		patient = {}
		ambitious = {}
		gregarious = {}
		deceitful = {}
		trusting = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		greedy = {}
	}
	random_traits_list = {
		education_intrigue_1 = { weight = { base = 35 } }
		education_intrigue_2 = { weight = { base = 35 } }
		education_intrigue_3 = { weight = { base = 20 } }
		education_intrigue_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		lifestyle_hunter = {}
		giant = {}
		torturer = {}
		murderer = {}
		strong = {}
		disloyal = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		#berserker
		if = {
			limit = {
				faith.religion = faith:norse_pagan.religion
			}
			random = {
				chance = 20
				add_trait = berserker
			}
		}
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_idealist_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		compassionate = {}
		forgiving = {}
		trusting = {}
		generous = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		patient = {}
		ambitious = {}
		gregarious = {}
		compassionate = {}
		forgiving = {}
		trusting = {}
		generous = {}
	}
	random_traits_list = {
		education_diplomacy_1 = { weight = { base = 35 } }
		education_diplomacy_2 = { weight = { base = 35 } }
		education_diplomacy_3 = { weight = { base = 20 } }
		education_diplomacy_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		gallant = {}
		diplomat = {}
		loyal = {}
		improvident = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random = {
			chance = 5
			
			add_trait = poet
			
			modifier = {
				add = 20
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 10
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_charmer_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		lustful = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		zealous = {}
		brave = {}
		honest = {}
		patient = {}
		ambitious = {}
		gregarious = {}
		deceitful = {}
		compassionate = {}
		forgiving = {}
		trusting = {}
		generous = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		greedy = {}
	}
	random_traits_list = {
		education_intrigue_1 = { weight = { base = 35 } }
		education_intrigue_2 = { weight = { base = 35 } }
		education_intrigue_3 = { weight = { base = 20 } }
		education_intrigue_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		gallant = {}
		seducer = {}
		fecund = {}
		rakish = {}
		lovers_pox = {}
		deviant = {}
		lifestyle_reveler = { }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random = {
			chance = 5
			
			add_trait = poet
			
			modifier = {
				add = 20
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 10
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}



accolade_thug_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		ambitious = {}
		gregarious = {}
		deceitful = {}
		trusting = {}
		generous = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		greedy = {}
	}
	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_intrigue_1 = { weight = { base = 35 } }
		education_intrigue_2 = { weight = { base = 35 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		strong = {}
		reaver = {}
		giant = {}
		dull = {}
		irritable = {}
		disloyal = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		#berserker
		if = {
			limit = {
				faith.religion = faith:norse_pagan.religion
			}
			random = {
				chance = 20
				add_trait = berserker
			}
		}
		
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_disciplinarian_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		stubborn = {}
		diligent = {}
		temperate = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		patient = {}
		ambitious = {}
		gregarious = {}
		deceitful = {}
		compassionate = {}
		trusting = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		greedy = {}
	}
	random_traits_list = {
		education_stewardship_1 = { weight = { base = 35 } }
		education_stewardship_2 = { weight = { base = 35 } }
		education_stewardship_3 = { weight = { base = 20 } }
		education_stewardship_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		athletic = {}
		organizer = {}
		overseer = {}
		flagellant = {}
		administrator = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_fanatic_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		zealous = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		patient = {}
		ambitious = {}
		gregarious = {}
		deceitful = {}
		generous = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		greedy = {}
	}
	random_traits_list = {
		education_learning_1 = { weight = { base = 35 } }
		education_learning_2 = { weight = { base = 35 } }
		education_learning_3 = { weight = { base = 20 } }
		education_learning_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		lunatic_1 = {}
		lunatic_genetic = {}
		albino = {}
		disfigured = {}
		theologian = {}
		lifestyle_mystic = {}
		holy_warrior = {}
		flagellant = {}
		contrite = {}
		whole_of_body = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_mystic
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_valiant_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		brave = {}
	}
	random_traits_list = {
		count = 1
		sadistic = {}
		callous = {}
		vengeful = {}
		lustful = {}
		wrathful = {}
		arbitrary = {}
		impatient = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		ambitious = {}
		gregarious = {}
		greedy = {}
		compassionate = {}
		generous = {}
		forgiving = {}
		trusting = {}
	}
	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		lifestyle_traveler = {}
		strong = {}
		lifestyle_hunter = {}
		reckless = {}
		gallant = {}
		loyal = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		#berserker
		if = {
			limit = {
				faith.religion = faith:norse_pagan.religion
			}
			random = {
				chance = 20
				add_trait = berserker
			}
		}
		random = {
			chance = 1
			
			add_trait = poet
			
			modifier = {
				add = 10
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 5
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_stalwart_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		honest = {}
		just = {}
		patient = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		wrathful = {}
		arrogant = {}
		stubborn = {}
		diligent = {}
		temperate = {}
		zealous = {}
		brave = {}
		honest = {}
		just = {}
		patient = {}
		gregarious = {}
		trusting = {}
		sadistic = {}
		vengeful = {}
		callous = {}
		generous = {}
		compassionate = {}
		forgiving = {}
		greedy = {}
	}
	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		lifestyle_hunter = {}
		athletic = {}
		strategist = {}
		confider = {}
		unyielding_defender = {}
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	random_traits_list = {
		count = { 0 1 }
		loyal = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_scoundrel_character = {
	age = { 16 35 }
	random_traits = yes
	
	random_traits_list = {
		count = 1
		ambitious = {}
		gregarious = {}
		greedy = {}
		deceitful = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
        wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        stubborn = {}
        brave = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        trusting = {}
        sadistic = {}
        vengeful = {}
        callous = {}
        compassionate = {}
        forgiving = {}
        greedy = {}
	}
	random_traits_list = {
		education_diplomacy_1 = { weight = { base = 35 } }
		education_diplomacy_2 = { weight = { base = 35 } }
		education_diplomacy_3 = { weight = { base = 20 } }
		education_diplomacy_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_traveler = {}
		disloyal = {}
		shrewd = {}
		schemer = {}
		drunkard = {}
		hashishiyah = {}
		rakish = {}
		profligate = {}
		wild_oat = {}
		lifestyle_reveler = { }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		random = {
			chance = 1
			
			add_trait = poet
			
			modifier = {
				add = 10
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 5
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

# SKILLED ATTRIBUTES

accolade_politicker_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		trusting = {}
		compassionate = {}
		calm = {}
		ambitious = {}
	}

	random_traits_list = {
		count = 2
		lustful = {}
		chaste = {}
		gluttonous = {}
		temperate = {}
		generous = {}
		diligent = {}
		calm = {}
		patient = {}
		impatient = {}
		arrogant = {}
		humble = {}
		honest = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		content = {}
		arbitrary = {}
		just = {}
		cynical = {}
		zealous = {}
		trusting = {}
		compassionate = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
		forgiving = {}
	}

	random_traits_list = {
		education_diplomacy_3 = { weight = { base = 50 } }
		education_diplomacy_4 = { weight = { base = 25 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_traveler = {}
		diplomat = {}
		poet = {}
		august = {}
		loyal = {}
		lifestyle_reveler = { }
		tourney_participant = { }
	}
	prowess = { min_guest_template_skill 16 }
	diplomacy = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random = {
			chance = 1
			
			add_trait = poet
			
			modifier = {
				add = 15
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 10
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_tactician_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		brave = {}
		zealous = {}
		wrathful = {}
		ambitious = {}
	}
	
	random_traits_list = {
		count = 2
		lustful = {}
		chaste = {}
		gluttonous = {}
		temperate = {}
		greedy = {}
		generous = {}
		diligent = {}
		wrathful = {}
		calm = {}
		patient = {}
		impatient = {}
		arrogant = {}
		humble = {}
		deceitful = {}
		honest = {}
		brave = {}
		shy = {}
		gregarious = {}
		ambitious = {}
		content = {}
		arbitrary = {}
		just = {}
		cynical = {}
		zealous = {}
		paranoid = {}
		trusting = {}
		compassionate = {}
		callous = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
		vengeful = {}
		forgiving = {}
	}

	random_traits_list = {
		education_martial_3 = { weight = { base = 50 } }
		education_martial_4 = { weight = { base = 25 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		strategist = {}
		gallant = {}
		overseer = {}
		tourney_participant = {}
		lifestyle_blademaster = {}
		strong = {}
		lifestyle_hunter = {}
	}
	prowess = { 8 14 }
	martial = { 9 12 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tourney_participant_level_effect = yes
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_reeve_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		diligent = {}
		temperate = {}
		just = {}
		stubborn = {}
		ambitious = {}
	}

	random_traits_list = {
		count = 2
		lustful = {}
        chaste = {}
        temperate = {}
        greedy = {}
        generous = {}
        diligent = {}
        wrathful = {}
        calm = {}
        patient = {}
        impatient = {}
        arrogant = {}
        humble = {}
        deceitful = {}
        honest = {}
        brave = {}
        shy = {}
        gregarious = {}
        ambitious = {}
        content = {}
        just = {}
        cynical = {}
        zealous = {}
        paranoid = {}
        trusting = {}
        compassionate = {}
        callous = {}
        sadistic = {}
        stubborn = {}
        vengeful = {}
        forgiving = {}
	}

	random_traits_list = {
		education_stewardship_3 = { weight = { base = 50 } }
		education_stewardship_4 = { weight = { base = 25 } }
	}
	random_traits_list = {
		count = { 0 1 }
		administrator = {}
		avaricious = {}
		architect = {}
		shrewd = {}
		tourney_participant = { }
		journaller = {}
	}
	prowess = { min_guest_template_skill 16 }
	stewardship = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_manipulator_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		craven = {}
		lustful = {}
		fickle = {}
		vengeful = {}
		deceitful = {}
		arbitrary = {}
		paranoid = {}
		cynical = {}
		callous = {}
		sadistic = {}
		ambitious = {}
		calm = {}
	}

	random_traits_list = {
		count = 2
		lustful = {}
        chaste = {}
        gluttonous = {}
        temperate = {}
        greedy = {}
        generous = {}
        diligent = {}
        calm = {}
        patient = {}
        impatient = {}
        arrogant = {}
        humble = {}
        deceitful = {}
        brave = {}
        shy = {}
        gregarious = {}
        ambitious = {}
        arbitrary = {}
        cynical = {}
        zealous = {}
        paranoid = {}
        callous = {}
        sadistic = {}
        stubborn = {}
        fickle = {}
        vengeful = {}
	}

	random_traits_list = {
		education_intrigue_3 = { weight = { base = 50 } }
		education_intrigue_4 = { weight = { base = 25 } }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = { }
		schemer = {}
		seducer = {}
		torturer = {}
		lifestyle_herbalist = {}
		lifestyle_reveler = {}
		disloyal = {}
	}
	prowess = { min_guest_template_skill 16 }
	intrigue = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_mentor_character = {
	age = { 20 40 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_learning_3 = { weight = { base = 50 } }
		education_learning_4 = { weight = { base = 25 } }
	}
	random_traits_list = {
		count = { 0 1 }
		chaste = {}
		diligent = {}
		shy = {}
		forgiving = {}
		patient = {}
		cynical = {}
		shrewd = {}
		one_eyed = {}
		scholar = {}
		theologian = {}
		lifestyle_traveler = {}
		whole_of_body = {}
		lifestyle_physician = {}
		journaller = {}
	}
	prowess = { min_guest_template_skill 16 }
	learning = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_contender_character = {
	age = { 16 36 }
	random_traits = yes

	trait = tourney_participant
	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 45 } }
		education_martial_2 = { weight = { base = 40 } }
		education_martial_3 = { weight = { base = 10 } }
		education_martial_4 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = { 0 1 }
		brave = {}
		vengeful = {}
		sadistic = {}
		giant = {}
		strong = {}
		gallant = {}
		lifestyle_blademaster = {}
		irritable = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		#berserker
		if = {
			limit = {
				faith.religion = faith:norse_pagan.religion
			}
			random = {
				chance = 20
				add_trait = berserker
			}
		}
		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

# MEN-AT-ARMS ACCOLADES

accolade_archer_character = {
	age = { 16 35 }
	random_traits = yes
	trait = tourney_participant
	random_traits_list = {
		count = 1
		arbitrary = {}
        impatient = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		calm = {}
		patient = {}
		cynical = {}
		callous = {}
		craven = {}
		forest_fighter = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait_xp = {
			trait = tourney_participant
			track = bow
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			add_trait = forest_fighter
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_skirmisher_character = {
	age = { 16 35 }
	random_traits = yes
	trait = tourney_participant
	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		lifestyle_blademaster = {}
		jungle_stalker = {}
		winter_soldier = {}
		diligent = {}
		brave = {}
		fickle = {}
		arbitrary = {}
		humble = {}
		scarred = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait_xp = {
			trait = tourney_participant
			track = bow
			value = 20
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 20
			}
		}
		random = {
			chance = 20
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 30
			}
		}
		random = {
			chance = 20
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			add_trait = winter_soldier
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			add_trait = jungle_stalker
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_pike_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		arbitrary = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		rough_terrain_expert = {}
		unyielding_defender = {}
		just = {}
		cynical = {}
		forgiving = {}
		diligent = {}
		trusting = {}
		stubborn = {}
		giant = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = foot
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			add_trait = rough_terrain_expert
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_outrider_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		open_terrain_expert = {}
		reckless = {}
		brave = {}
		wrathful = {}
		impatient = {}
		ambitious = {}
		arbitrary = {}
		fickle = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = horse
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_vanguard_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		strong = {}
		athletic = {}
		gallant = {}
		wrathful = {}
		impatient = {}
		arrogant = {}
		brave = {}
		stubborn = {}
		giant = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = foot
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 30
			}
		}

		# Cultural Traditions
		#berserker
		if = {
			limit = {
				faith.religion = faith:norse_pagan.religion
			}
			random = {
				chance = 20
				add_trait = berserker
			}
		}
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_lancer_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_blademaster = {}
		strong = {}
		gallant = {}
		aggressive_attacker = {}
		brave = {}
		wrathful = {}
		impatient = {}
		arrogant = {}
		honest = {}
		ambitious = {}
		zealous = {}
		vengeful = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = horse
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_crossbowmen_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		arbitrary = {}
        impatient = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		calm = {}
		patient = {}
		cynical = {}
		callous = {}
		craven = {}
		humble = {}
		cautious_leader = {}
		military_engineer = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = bow
			value = 25
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 25
			}
		}
		random = {
			chance = 5
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_besieger_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        arrogant = {}
        lustful = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = {}
		logistician = {}
		calm = {}
		patient = {}
		deceitful = {}
		cynical = {}
		paranoid = {}
		sadistic = {}
		callous = {}
		vengeful = {}
		diligent = {}
		stubborn = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = military_engineer
		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		add_random_tourney_participant_level_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_camelry_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		temperate = {}
		wrathful = {}
		impatient = {}
		brave = {}
		zealous = {}
		humble = {}
		content = {}
		stubborn = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = desert_warrior
		random = {
			chance = 60
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 20
			}
		}
		random = {
			chance = 20
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_elephantry_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		gallant = {}
		wrathful = {}
		impatient = {}
		arrogant = {}
		ambitious = {}
		stubborn = {}
		gregarious = {}
		lazy = {}
		giant = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = jungle_stalker
		random = {
			chance = 30
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 20
			}
		}
		random = {
			chance = 10
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 30
			}
		}
		random = {
			chance = 30
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 20
			}
		}
		random = {
			chance = 10
			if = {
				limit = {
					NOT = { has_trait = tourney_participant }
				}
				add_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_horse_archer_character = {
	age = { 16 35 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		lifestyle_hunter = {}
		open_terrain_expert = {}
		flexible_leader = {}
		patient = {}
		arbitrary = {}
		fickle = {}
		trusting = {}
		deceitful = {}
		cynical = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = tourney_participant
		add_trait_xp = {
			trait = tourney_participant
			track = bow
			value = 20
		}
		random = {
			chance = 35
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 20
			}
		}
		random = {
			chance = 20
			add_trait_xp = {
				trait = tourney_participant
				track = bow
				value = 30
			}
		}
		random = {
			chance = 20
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = 30
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			random = {
				chance = 10
				add_trait = winter_soldier
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			random = {
				chance = 10
				add_trait = forest_fighter
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			random = {
				chance = 10
				add_trait = rough_terrain_expert
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			random = {
				chance = 10
				add_trait = desert_warrior
			}
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			random = {
				chance = 10
				add_trait = jungle_stalker
			}
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

# EMINENT ATTRIBUTES
accolade_huntsmaster_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_stewardship_3 = { weight = { base = 40 } }
		education_stewardship_4 = { weight = { base = 10 } }
		education_martial_3 = { weight = { base = 40 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = {}
		patient = {}
		diligent = {}
		calm = {}
		callous = {}
		shy = {}
		lifestyle_traveler = {}
		lifestyle_herbalist = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = lifestyle_hunter
		if = {
			limit = {
				has_trait = tourney_participant
			}
			random = {
				chance = 60
				add_trait_xp = {
					trait = tourney_participant
					track = horse
					value = 20
				}
			}
			random = {
				chance = 60
				add_trait_xp = {
					trait = tourney_participant
					track = bow
					value = 30
				}
			}
		}

		# Cultural Traditions
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			add_trait = winter_soldier
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			add_trait = forest_fighter
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			add_trait = rough_terrain_expert
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			add_trait = desert_warrior
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			add_trait = jungle_stalker
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = yes
			LEVEL_3 = yes
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_blademaster_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        zealous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        temperate = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        ambitious = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = {}
		giant = {}
		one_eyed = {}
		scarred = {}
		gallant = {}
		temperate = {}
		ambitious = {}
		calm = {}
		vengeful = {}
		callous = {}
		sadistic = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = lifestyle_blademaster
		add_trait_xp = {
			trait = lifestyle_blademaster
			value = 100
		}
		if = {
			limit = {
				has_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = 20
			}
		}
		# Cultural Traditions
		if = {
			limit = {
				current_date < 1400
				root = {
					has_title = title:e_byzantium
				}
				culture = {
					OR = {
						has_cultural_parameter = unlock_maa_huscarls
						has_cultural_parameter = unlock_maa_varangian_veterans
					}
				}
			}
			add_trait = varangian
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = winter_soldier_trait_more_common
				}
				NOT = {
					has_trait = winter_soldier
				}
			}
			add_trait = winter_soldier
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = forest_fighter_trait_more_common
				}
				NOT = {
					has_trait = forest_fighter
				}
			}
			add_trait = forest_fighter
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = rough_terrain_expert_trait_more_common
				}
				NOT = {
					has_trait = rough_terrain_expert
				}
			}
			add_trait = rough_terrain_expert
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = desert_warrior_trait_more_common
				}
				NOT = {
					has_trait = desert_warrior
				}
			}
			add_trait = desert_warrior
		}
		if = {
			limit = {
				culture = {
					has_cultural_parameter = jungle_stalker_trait_more_common
				}
				NOT = {
					has_trait = jungle_stalker
				}
			}
			add_trait = jungle_stalker
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}

accolade_master_of_revels_character = {
	age = { 18 36 }
	random_traits = yes

	random_traits_list = {
		count = 1
		wrathful = {}
        arbitrary = {}
        impatient = {}
        arrogant = {}
        lustful = {}
        compassionate = {}
        forgiving = {}
        trusting = {}
        generous = {}
        sadistic = {}
        callous = {}
        vengeful = {}
        stubborn = {}
        diligent = {}
        brave = {}
        honest = {}
        just = {}
        patient = {}
        gregarious = {}
        deceitful = {}
        greedy = {}
	}

	random_traits_list = {
		education_diplomacy_1 = { weight = { base = 35 } }
		education_diplomacy_2 = { weight = { base = 35 } }
		education_diplomacy_3 = { weight = { base = 20 } }
		education_diplomacy_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = { 0 1 }
		tourney_participant = {}
		lifestyle_traveler = {}
		gluttonous = {}
		gregarious = {}
		hashishiyah = {}
		drunkard = {}
		generous = {}
		trusting = {}
		content = {}
		lazy = {}
		august = {}
	}
	prowess = { min_guest_template_skill 16 }
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_trait = lifestyle_reveler
		random = {
			chance = 75
			add_trait_xp = {
				trait = lifestyle_reveler
				value = 50
			}
		}
		add_trait_xp = {
			trait = lifestyle_reveler
			value = 25
		}
		random = {
			chance = 10
			
			add_trait = poet
			
			modifier = {
				add = 30
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 15
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		if = {
			limit = {
				has_trait = tourney_participant
			}
			add_trait_xp = {
				trait = tourney_participant
				track = wit
				value = 20
			}
			random = {
				chance = 50
				add_trait_xp = {
					trait = tourney_participant
					track = wit
					value = 30
				}
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
		shogunate_set_fictional_nickname_effect = yes
	}
}
